<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="memDao" class="com.group.member.MemberDAO"></jsp:useBean>
<%
	request.setCharacterEncoding("utf-8");	
	String id = request.getParameter("id");
	boolean b = memDao.checkId(id);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>id 검사</title>
<link href="../etc/style.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="20">
	<center>
		<b><%=id %></b>
		<% if(b){ %>
			는 이미 사용중인 id입니다.<br><br>
			<a href="#" onclick="opener.document.regForm.id.focus(); window.close()">닫기</a>
		<% }else{ %>
			는 사용 가능합니다.<br><br>
			<a href="#" onclick="opener.document.regForm.passwd.focus(); window.close()">닫기</a>
		<% } %>
	</center>
</body>
</html>